package service

import (
	"blog/dao"
	"blog/entity"
)

func Login(username string, password string) bool {
	var boolUser entity.User
	user := dao.Login(username, password)
	if user == boolUser {
		return false
	}
	return true
}
